import {
	getRequest,
	postRequest,
	postRequest2,
	postRequestG
} from './request.js'

/* 基础数据模块 */
// export const login = (data, blon) => postRequest('/api/user/login', data, blon)
// 推荐位
export const positionList = data => getRequest("/api/position.content/lists", data, false);
// 推荐位详情
export const positionDetail = data => getRequest("/api/position.content/detail", data, false);
// 新闻动态
export const articleQuery = data => getRequest("/api/article/lists", data, false);
// 详情
export const articleDetail = data => getRequest("/api/article/Detail", data, false);
// 登录
export const adminLogin = data => postRequest("/api/admin/login", data, false);
// 用户详情
export const adminDetail = (data, blon) => postRequest("/api/admin/detail", data, blon);
// 用户列表
export const adminLists = (data, blon) => postRequest("/api/admin/lists", data, blon);
// 验证码
export const commonCaptcha = data => postRequest("/api/common/captcha", data, false);
// 学校栏目
export const articleSchoolList = data => postRequest("/api/article.channel/schoolList", data, false);
// 教育背景
export const educationLists = (data, blon) => postRequest("/api/admin.education/lists", data, blon);
// 工作经历
export const experienceLists = (data, blon) => postRequest("/api/admin.experience/lists", data, blon);
// 修改
export const adminEdit = (data, blon) => postRequest2("/api/admin/edit", data, blon);
// 数字字典
export const dictAll = data => postRequest("/api/dict.data/all", data, false);
// 地区
export const districtList = data => postRequest("/api/district/lists", data, false);
// 流程申请
export const flowSetList = (data, blon) => postRequest("/api/flow.set/index", data, blon);
// 流程详情
export const flowSetDetail = (data, blon) => postRequest("/api/flow.set/detail", data, blon);
// 部门
export const departmentAll = data => postRequest("/api/department/all", data, false);
// 树形
export const departTreeList = (data, blon) => postRequest("/api/department/treeList", data, blon);
// 流程申请
export const applySubmit = (data, blon) => postRequest("/api/flow.apply/submit", data, blon);
// 我的申请列表
export const applyMyList = (data, blon) => postRequest("/api/flow.apply/myList", data, blon);
// 列表
export const flowSetLists = (data, blon) => postRequest("/api/flow.set/lists", data, blon);
// 我的申请列表详情
export const applyDetail = (data, blon) => postRequestG("/api/flow.apply/detail", data, blon);
// 申请撤销
export const applyCancel = (data, blon) => postRequestG("/api/flow.apply/cancel", data, blon);
// 教师认定列表
export const hrTeacherLists = (data, blon) => postRequestG("/api/hr.teacher/lists", data, blon);
// 劳动纠纷
export const hrDisputeLists = (data, blon) => postRequestG("/api/hr.dispute/lists", data, blon);
export const hrDisputeDetail = (data, blon) => postRequestG("/api/hr.dispute/detail", data, blon);
// 审批列表
export const flowMyList = (data, blon) => postRequest("/api/flow.record/myList", data, blon);
// 审批详情
export const flowDetail = (data, blon) => postRequestG("/api/flow.record/detail", data, blon);
// 上传文件
export const uploadFile = data => postRequest("/api/upload/file", data, false);
// 提交审批
export const flowCheck = (data, blon) => postRequest("/api/flow.record/check", data, blon);
// 薪资
export const salaryRecordDetail = (data, blon) => postRequestG("/api/salary.record/detail", data, blon);
// 薪资
export const salaryMyList = (data, blon) => postRequest("/api/salary.record/myList", data, blon);
// 提交确认
export const salaryConfirm = (data, blon) => postRequest("/api/salary.record/confirm", data, blon);
// 提交申请
export const feedbackSubmit = (data, blon) => postRequest("/api/salary.feedback/submit", data, blon);
// 问题列表
export const feedbackMyList = (data, blon) => postRequest("/api/salary.feedback/myList", data, blon);
// 考核列表
export const kpiMyList = (data, blon) => postRequest("/api/kpi.rating/myList", data, blon);
// 考核详情
export const kpiMyListDetail = (data, blon) => postRequestG("/api/kpi.rating/detail", data, blon);
// 考勤日历
export const attendanceCalendar = (data, blon) => postRequest("/api/attendance.schedule/calendar", data, blon);
// 考勤日历详情
export const calendarDetail = (data, blon) => postRequest("/api/attendance.schedule/detail", data, blon);
// 打卡检测
export const attendanceCheck = (data, blon) => postRequest("/api/attendance/check", data, blon);
// 我的打卡信息
export const attendanceMyInfo = (data, blon) => postRequest("/api/attendance/myInfo", data, blon);
// 打卡记录列表
export const attendanceListByDay = (data, blon) => postRequest("/api/attendance.record/listByDay", data, blon);
// 打卡
export const attendancePunch = (data, blon) => postRequest("/api/attendance/punch", data, blon);
// 打卡统计
export const attendanceMyStats = (data, blon) => postRequest("/api/attendance/myStats", data, blon);
// 招聘岗位列表
export const recruitLists = data => postRequest("/api/recruit.position/lists", data, false);
// 招聘岗位详情
export const recruitDetail = data => postRequest("/api/recruit.position/detail", data, false);
// 获取配置
export const wechatConfig = data => postRequest("/api/wechat/config", data, false);
// 微信登录
export const wechatLogin = data => postRequest("/user/wechat/login", data, false);
// 微信登录
export const wxappLogin = data => postRequest("/user/wxapp/login", data, false);
// 用户详情
export const userDetail = (data, blon) => postRequest("/user/user/detail", data, blon);
// 教育背景
export const userEducation = (data, blon) => postRequest("/user/user.education/lists", data, blon);
// 工作经历
export const userExperience = (data, blon) => postRequest("/user/user.experience/lists", data, blon);
// 修改
export const userEdit = (data, blon) => postRequest("/user/user/edit", data, blon);
// 面试申请
export const recruitApply = (data, blon) => postRequest("/user/recruit.apply/submit", data, blon);
// 人事管理
export const hrStats = (data, blon) => postRequest("/api/hr/stats", data, blon);
// 本周面试
export const applyListRecruit = (data, blon) => postRequest("/api/recruit.apply/lists", data, blon);
// 面试详情
export const applyDetailRecruit = (data, blon) => postRequestG("/api/recruit.apply/detail", data, blon);
// 本月入职
export const monthJoinList = (data, blon) => postRequest("/api/hr/monthJoinList", data, blon);
// 在职人员
export const onJobList = (data, blon) => postRequest("/api/hr/onJobList", data, blon);
// 教师统计
export const teacherStats = (data, blon) => postRequest("/api/data/teacherStats", data, blon);
// 教育统计
export const educationStats = (data, blon) => postRequest("/api/data/educationStats", data, blon);
// 人才统计
export const talentStats = (data, blon) => postRequest("/api/data/talentStats", data, blon);
// 招聘申请列表
export const recruitMyList = (data, blon) => postRequest("/user/recruit.apply/myList", data, blon);
// 招聘申请详情
export const recruitMyDetail = (data, blon) => postRequestG("/user/recruit.apply/detail", data, blon);
// 撤销申请
export const recruitMyCancel = (data, blon) => postRequestG("/user/recruit.apply/cancel", data, blon);
// 申请列表
export const flowApplyLists = (data, blon) => postRequest("/api/flow.apply/lists", data, blon);
// 人员详情
export const staffDetail = (data, blon) => postRequestG("/api/hr/staffDetail", data, blon);
// 修改密码
export const changePassword = (data, blon) => postRequest("/api/admin/changePassword", data, blon);
// 提交
export const workDiarySubmit= (data, blon) => postRequest("/api/work.diary/submit", data, blon);
// 工作日志列表
export const workDiaryMyList= (data, blon) => postRequest("/api/work.diary/myList", data, blon);
// 工作日志详情
export const workDiaryDetail= (data, blon) => postRequestG("/api/work.diary/detail", data, blon);
export const subordinateList= (data, blon) => postRequest("/api/work.diary/subordinateList", data, blon);
export const notifyList= (data, blon) => postRequest("/api/work.diary/notifyList", data, blon);